﻿body {
    font: 12px Verdana, Tahoma;
    margin: 0; 
    padding: 5px; 
    *zoom: 1;
}
.smitheditor {
    background: #fff; 
    border: 1px solid #afafaf; 
    display: inline-block;
    width: 640px; 
    height: 320px; 
    margin: 0; 
    padding: 0;
    /* CSS3 border radius */
    -webkit-border-radius: 4px; 
    -moz-border-radius: 4px; 
    border-radius: 4px;
}
.smitheditor .controls {    
    background: #f8f8f8; 
    border-bottom: 1px solid #afafaf;
    cursor: default; 
    display: block; 
    padding: 4px;
    /* CSS3 border radius */
    -moz-border-radius-topleft: 4px; 
    -moz-border-radius-topright: 4px; 
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-radius: 4px 4px 0px 0px;
    border-radius: 4px 4px 0px 0px;
}
.smitheditor .controls ul {
    cursor: default;
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;   
}
.smitheditor .controls ul li {
    cursor: pointer;
    display: inline-block;
    margin: 0 2px 0 0;
    padding: 1px;
    width: 20px;
    height: 20px;
    outline: 0;
    position: relative;
    /* IE6 IE7 hack */
    *zoom: 1;
    *display: inline;
    /* CSS3 border radius */
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.smitheditor .controls ul li:hover {    
    border: 1px solid #cacaca;    
    padding: 0;
    /* CSS3 background */
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#efefef));
    background: -moz-linear-gradient(top, #ffffff, #efefef);
}
.smitheditor .controls ul li.toggle {
    background: #efefef;
    border: 1px solid #afafaf;
    padding: 0;
    /* CSS3 background */
    background: -webkit-gradient(linear, left top, left bottom, from(#e0e0e0), to(#ffffff));
    background: -moz-linear-gradient(top, #e0e0e0, #ffffff);
}
.smitheditor .controls a {
    background: transparent url('icons.png') no-repeat;
    background-position: center center;
    border: 0;
    cursor: pointer;
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: 0;
    padding: 0;
    outline: 0;
}
.smitheditor .select {
    background: #fff;
    border: 1px solid #afafaf;
    font-size: 12px;
    list-style: none;
    margin: 1px 0 0 0;
    padding: 0;
    position: absolute;
    /* CSS3 background */
    -webkit-box-shadow: 2px 2px 5px 0px #9f9f9f;
    -moz-box-shadow: 2px 2px 5px 0px #9f9f9f;
    box-shadow: 2px 2px 5px 0px #9f9f9f;
}
.smitheditor .select .item {
    display: block;
    margin: 0;
    padding: 0;
}
.smitheditor .select .item a {
    color: #393939;
    cursor: pointer;
    display: block;  
    margin: 0;
    padding: 3px 6px;
    outline: 0;
    text-decoration: none;
    /* IE6 IE7 hacks */
    *zoom: 1;
    *width: 120px;
}
.smitheditor .select .item a:hover {
    background: #efefef;
}
.smitheditor .editor {
    border: 0;
    margin: 0;
    padding: 0;
}